//
//  FindViewModel.h
//  zhuchiren
//
//  Created by rainday on 15/1/30.
//  Copyright (c) 2015年 rainday. All rights reserved.
//

#import <Foundation/Foundation.h>
@class RACSignal;

@interface FindViewModel : NSObject
@property (nonatomic ,assign) BOOL hasLoaded;
@property (nonatomic ,readonly) NSMutableArray *dataArray;
@property (nonatomic ,assign) BOOL isEmpty;

- (void)fetchDataWithUserName:(NSString *)username;
- (NSInteger)numberOfTable;
- (NSDictionary *)dictionaryAtIndexPath:(NSIndexPath *)indexPath;

+ (RACSignal *)collectUser:(NSString *)username;
- (void)fetchCollection;

@end
